@ECHO OFF
REM 声明采用UTF-8编码
chcp 65001

title ★ 现在时间是:%time% ★

mode con cols=40 lines=22
color 2F
REM 请求管理员权限
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
if '%errorlevel%' NEQ '0' (

echo 请求管理员权限...

goto UACPrompt
) else ( goto gotAdmin )

:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
exit /B

:gotAdmin
if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
pushd "%CD%"
CD /D "%~dp0"

:Menu
Cls
Echo.
Echo.&Echo     查看 → 1
Echo.&Echo     禁用 → 2
Echo.
:Menu
Set /p a=输入数字按回车：
If "%a%"=="1" Goto In
If "%a%"=="2" Goto Un
Echo.&Echo 输入无效，请重新输入！
pause >nul
Goto Menu
:In
fsutil.exe file queryCaseSensitiveInfo %~dp0
Goto fanhui
:Un
fsutil.exe file setCaseSensitiveInfo %~dp0 disable 
Goto fanhui
:fanhui
Echo.&Echo                完成...
ping -n 2 10>nul
goto menu